package com.xwb.service;

import com.xwb.domain.Member;
import com.xwb.domain.MemberWithTutor;
import com.xwb.domain.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface MemberService {

    /**
     * 从网页中保存队员信息
     */
  boolean saveMember(Member member);

  boolean saveMemberInTeam(Member member);

  boolean saveMemberAndTutorInTeam(MemberWithTutor memberWithTutor);

  boolean deleteBySerialNumber(Integer SerialNumber);

//    List<MemberWithTutor> selectTheSameTeamInfo(String teamNumber);

    List<MemberWithTutor> selectByTeamNumber(String teamNumber);


  void saveUser(User user);
}
